/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.paris5.master2.guitarmaster.service;

import com.paris5.master2.guitarmaster.bean.EcomCategory;
import com.paris5.master2.guitarmaster.bean.EcomCountry;
import com.paris5.master2.guitarmaster.bean.EcomStore;
import com.paris5.master2.guitarmaster.exception.EcomQueryException;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author mourad
 */
@Remote
public interface ServiceListRemote {
    /**
     * 
     * @param offset
     * @param limit
     * @return 
     */
    public List<EcomCategory> getCategories(int offset, int limit);
    
    /**
     * 
     * @param offset
     * @param limit
     * @return 
     */
    public List<EcomCountry> getCountries(int offset, int limit);
    
    /**
     * 
     * @param offset
     * @param limit
     * @return 
     */
    public List<EcomStore> getStores(int offset, int limit);
    
    /**
     * 
     * @return 
     */
    public Integer countCategories();
    
    /**
     * 
     * @return 
     */
    public Integer countCountries();
    
    /**
     * 
     * @return 
     */
    public Integer countStores();

    /**
     * 
     * @return 
     */
    public List<String> getCountriesCodes();
    /**get all devise in data base
     * 
     * @return 
     */
    public List<String> getCountriesDevise();
}
